﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;
using KPIS.GERP.GIMS.IBLL;
using KPIS.GERP.GIMS.IDAL;
using KPIS.GERP.GIMS.DALFactory;

namespace KPIS.GERP.GIMS.BLL
{
    public class MasterPurchaseTypeBLL : IBLLMasterPurchaseType
    {
        private static readonly IDALMasterPurchaseType dal = DataAccess.CreateMasterPurchaseType();

        public MasterPurchaseTypeBLL()
        {

        }

        public IList<MasterPurchaseTypeInfo> GetMasterPurchaseType()
        {
            return dal.GetMasterPurchaseType();
        }

        public IList<MasterPurchaseTypeInfo> GetMasterPurchaseType(string record_status)
        {
            return dal.GetMasterPurchaseType(record_status);
        }

        public MasterPurchaseTypeInfo GetMasterPurchaseType(int seq)
        {
            return dal.GetMasterPurchaseType(seq);
        }
    }
}
